import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'

import {
	Button,NavBar,Field,Dialog,Notify,
  Tab, Tabs,Tabbar, TabbarItem,
  GoodsAction, GoodsActionIcon, GoodsActionButton,Sku,
  Stepper,SubmitBar,Toast,SidebarItem,Sidebar,Pagination,
  Sticky,Search,SwipeItem,Swipe,Lazyload
} from 'vant'

Vue.use(Button).use(NavBar)
	.use(Field).use(Dialog).use(Notify)
  .use(Tab).use(Tabs).use(Tabbar).use(TabbarItem)
  .use(GoodsAction).use(GoodsActionButton).use(GoodsActionIcon)
  .use(Sku).use(Stepper).use(SubmitBar).use(Toast)
  .use(SidebarItem).use(Sidebar).use(Pagination).use(Sticky)
  .use(Search).use(SwipeItem).use(Swipe).use(Lazyload)


new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
